package com.haipumi.biz.impl;

import java.util.List;

import com.haipumi.beans.haipumi_skin;
import com.haipumi.beans.haipumi_user;
import com.haipumi.biz.IBackSkinBiz;
import com.haipumi.dao.IBackSkinDao;
import com.haipumi.dao.impl.BackSkinDaoImpl;

public class BackSkinBizImpl implements IBackSkinBiz {
	IBackSkinDao ibsd=new BackSkinDaoImpl();
	@Override
	public List<haipumi_skin> findAllSkin() {
		List<haipumi_skin>skinlist=ibsd.findAllSkin();
		return skinlist;
	}

	@Override
	public int countAllSkin() {
		int r=0;
		r=ibsd.countAllSkin();
		return r;
	}

	@Override
	public haipumi_skin insertSkin(haipumi_skin skin) {
		haipumi_skin  newskin=ibsd.insertSkin(skin);
		return newskin;
	}

	@Override
	public haipumi_skin updateSkin(haipumi_skin skin) {
		haipumi_skin newskin=null;
		newskin=ibsd.updateSkin(skin);
		return newskin;
	}

}
